home *** CD-ROM | disk | FTP | other *** search
Text File | 1995-03-27 | 720 b | 17 lines | [TEXT/TeX+] |
- #
- # This script will add the project menu.
- # Usage: ProjectMenu.
- #
- # To use it, simply put aliases to all your project files, wherever they are,
- # or the project files themselves into the folder $dt_TeXLocal∂Projects:.
- #
-
- Exit 0 If $# ≠ 0
- If $dt_ProjectMenuID = "" [AddItem -m 1 "(-" ""; Set -x dt_ProjectMenuID "`AddMenu -b 1 -h -v Projects ≥ Dev:Null`"
-
- DeleteItem $dt_ProjectMenuID
- AddItem -m $dt_ProjectMenuID "Update Menu" [ProjectMenu
- AddItem -m $dt_ProjectMenuID "(-" ""
- AddItem -m $dt_ProjectMenuID "All Projects" [For i `Files -s $dt_TeXLocal∂Projects` [ProjectMgr -o $dt_TeXLocal∂Projects:$i
- For i `Files -s $dt_TeXLocal∂Projects` [AddItem -n -m $dt_ProjectMenuID $i ProjectMgr∂ -o∂ $$dt_TeXLocal∂Projects:$$i
-